package com.br.estoque.model.dao;
import java.util.Collection;

public abstract class AbstractDAO<O> {
	
		protected static final String DRIVER = "com.mysql.jdbc.Driver";
		protected static final String URL = "jdbc:mysql://localhost:3306/estoque"; 
		protected static final String USER = "root"; 
		protected static final String PASSWORD= "root"; 
		
		public abstract int criar(O obj);
		public abstract int alterar(O obj);
		public abstract int excluir(O obj);
		public abstract Collection<O> buscar();
		
		
		
}
